<?php
class Admin_MetadataController extends Zend_Controller_Action
{
    /**
     * The controller's init() function is called before 
     * the action. Usually we use it to set up the ACL
     * restrictions for the actions within the controller.
     *
     */
    public function init()
    {
        // allow everyone access to all actions
        $this->_helper->acl->allow('guest', 'menu');
        $this->_helper->acl->allow('guest', 'advert');
        $this->_helper->acl->allow(null);
		
		/*Gestion du template ici, à partir de la bdd*/
    }

    /**
     * This action is the home page of the website
     *
     */
    public function indexAction()
    {
        $this->view->title = 'Welcome to Wmp titre!';
        $this->view->headTitle('Welcome');
    }    
}